#ifndef CHANNEL_H
#define CHANNEL_H

#include <SDL_mixer.h>

#include "sound.h"

class Channel
{
	public:
		Channel(int a_id):id(a_id),free(true){}
		~Channel(){}
		void update();

		bool isFree()const{return free;}
		void playSound(Sound *s,Mix_Chunk *c);

	private:
		int id;
		bool free;

};

#endif
